
output_dir=$1;
output_done_dir=$output_dir"/done";

fileArr=$output_dir"/*.xml";
for file in $fileArr
do
    fileName=$(basename $file);
    doneFile=$output_done_dir"/"$fileName;
    if [ -e $doneFile ]; then
        rm -f $file;
        echo "deleted file " $file;
    fi
done


